#include "dlg_setting.h"
#include "ui_dlg_setting.h"




Dlg_Setting::Dlg_Setting(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::Dlg_Setting)
{
    ui->setupUi(this);
}

Dlg_Setting::~Dlg_Setting()
{
    delete ui;
}

void Dlg_Setting::on_pushButtonSave_clicked()
{
    struct Settings set;

    if(true == ui->radioButtonCtrl->isChecked())
        set.key_showDidAnaly = 0;
    else
        set.key_showDidAnaly = 1;

    emit send_settings(set);
    this->accept();
}
